<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="Bimrun Engine v3.7" content="width=device-width, initial-scale=1.0">
    <title>Bimrun Engine v3.7</title>
    <style>
        fieldset {
            border-radius: 10px;
            padding: 5px;
            margin-bottom: 2px;
            width: 35vw;
        }

        fieldset input {
            cursor: pointer;
        }
    </style>
</head>

<body style=" margin: 0; padding: 0; overflow: hidden; ">

<div id="container" style=" margin: 0; padding: 0; width: 100%; height: 100%; position: absolute; "></div>


<div style="position: absolute; bottom: 5px;left: 0;">
    <!-- 场景或者项目加载 -->
    <fieldset>
        <input type="button" value="加载场景" id="loadScene" />
        <input type="button" value="隐藏场景" id="hideScene" />
        <input type="button" value="显示场景" id="displayScene" />
        <input type="button" value="加载项目" id="loadProject" />
        <input type="button" value="隐藏项目" id="hideProject" />
        <input type="button" value="显示项目" id="displayProject" />
        <input type="button" value="自动旋转" id="switchRotateAround" />
    </fieldset>

    <!-- 剖面 -->
    <fieldset>
        <input type="button" value="添加剖面" id="addClippingPlane" />
        <input type="button" value="添加剖面盒" id="addClippingBox" />
        <input type="button" value="删除单个剖面" id="delClippingPlane" />
        <input type="button" value="删除所有剖面" id="delAllClippingPlane" />
        <input type="button" value="显示或隐藏所有剖面" id="displayAllClippingPlane" />
        <input type="button" value="显示材质填充" id="showRenderCap" />
    </fieldset>

    <!-- 点精灵 -->
    <fieldset>
        <input type="button" value="添加点精灵" id="addSprite" />
        <input type="button" value="点精灵闪烁" id="startSpriteBlinking" />
        <input type="button" value="停止点精灵闪烁" id="stopSpriteBlinking" />
        <input type="button" value="移动点精灵" id="moveSprite" />
        <input type="button" value="显示点精灵" id="showSprite" />
        <input type="button" value="隐藏点精灵" id="hideSprite" />
        <input type="button" value="删除点精灵" id="removeSprite" />
    </fieldset>

    <!-- 相机位置相关 -->
    <fieldset>
        <input type="button" value="获取相机信息" id="getCameraInfo" />
        <input type="button" value="靠近点" id="flyToPoint" />
        <input type="button" value="设置视点位置" id="flyTo" />
        <input type="button" value="飞向模型" id="flyToModel" />
        <input type="button" value="飞向场景" id="flyToScene" />
        <!-- <input type="button" value="视角包围盒" id="camToSceneBox" /> -->
        <!-- <input type="button" value="清除Viewer" id="clearViewer" /> -->
    </fieldset>

    <!-- 动画及漫游 -->
    <fieldset>
        <input type="button" value="创建动画" id="createAnimation" />
        <input type="button" value="开始动画" id="startAnimation" />
        <input type="button" value="停止动画" id="stopAnimation" />
        <input type="button" value="重放动画" id="repeatAnimation" />
        <input type="button" value="前端漫游测试" id="testAnimation" />
    </fieldset>

    <!-- 添加html元素 -->
    <fieldset>
        <input type="button" value="添加css2d元素" id="addDom" />
        <input type="button" value="删除css2d元素" id="deleteDom" />
        <input type="button" value="修改css2d元素位置" id="updateDomPosition" />
    </fieldset>

    <!-- 效果设置 -->
    <fieldset>
        <input type="button" value="粒子效果" id="addParticleEffect" />

        <input type="button" value="截图" id="getScreenShot" />

        <input type="button" value="增加亮度" id="btnAddLuminosity" />
        <input type="button" value="减少亮度" id="btnMinusLuminosity" />

        <input type="button" value="设置背景" id="btnSetBackground" />
    </fieldset>

    <!-- 热力图 -->
    <fieldset>
        <input type="button" value="创建热力图" id="btnCreateHeatmap" />
        <input type="button" value="+ 热力图高度" id="btnLiftHeatmap" />
        <input type="button" value="- 热力图高度" id="btnLowerHeatmap" />
        <input type="button" value="移动热力图" id="btnMoveHeatmap" />
        <input type="button" value="删除热力图" id="btnDelHeatmap" />
    </fieldset>

    <!-- 测距、框选、吸附 -->
    <fieldset>
        <input type="checkbox" id="measureDistance" />
        <lable class="net_form_title2" style="color:green">测距</lable>
        <input type="checkbox" id="dragSelection" />
        <lable class="net_form_title2" style="color:green">框选</lable>
        <input type="checkbox" id="snapping" />
        <lable class="net_form_title2" style="color:green">吸附</lable>
    </fieldset>

    <!-- 自定义物体 -->
    <fieldset>
        <input type="button" value='添加自定义物体' id="btnAddCustomObject" />
        <input type="button" value='删除自定义物体' id="btnRemoveCustomObject" />
        <input type="button" value="添加物体动画" id="btnChangeCustomObject" />
        <input type="button" value="添加实线条" id="btnAddCustomBasicLine" />
        <input type="button" value="添加虚线条" id="btnAddCustomDashedLine" />
    </fieldset>

    <!-- 轴网 -->
    <fieldset>
        <input type="button" value='加载轴线字体' id="btnLoadGridlineFont" />
        <input type="button" value='创建轴线' id="btnCreateSceneGrids" />
        <input type="button" value='创建轴线(自定义数据)' id="btnCreateCustomSceneGrids" />
        <input type="button" value='显示场景轴网' id="btnShowSceneGrids" />
        <input type="button" value='隐藏轴网' id="btnHideSceneGrids" />
        <input type="button" value="删除轴网" id="btnRemoveSceneGrids" />
        <input type="button" value="删除所有轴网" id="btnRemoveAllGrids" />
        <input type="button" value="轴网漂浮" id="btnSetLineSolide" />
        <input type="button" value="开启轴网鼠标悬停" id="btnMouseOnLine" />
        <input type="button" value="关闭轴网鼠标悬停" id="btnMouseOffLine" />
    </fieldset>

    <!-- 地理围栏 -->
    <fieldset>
        <input type="button" value="添加围栏" id="btnAddFence" />
        <input type="button" value="隐藏或显示围栏" id="btnSetFenceVisible" />
        <input type="button" value="删除围栏" id="btnRemoveFence" />
        <input type="button" value="是否在围栏内部" id="btnIsInFence" />
    </fieldset>
    <!-- 二维码功能 -->
    <fieldset>
        <input type="button" value="加载二维码图标" id="btnLoadQRCodeImage" />
        <input type="button" value="添加二维码" id="btnAddQRCode" />
        <input type="button" value="创建二维码" id="btnCreateQRCode" />
        <input type="button" value="旋转二维码" id="btnRotateQRCode" />
        <input type="button" value="平移二维码" id="btnTranslateQRCode" />
        <input type="button" value="显示/隐藏二维码" id="btnDisplayQRCode" />
        <input type="button" value="删除二维码" id="btnDeleteQRCode" />
        <input type="button" value="为二维码添加控制器" id="btnAttachTransformControls" />
        <input type="button" value="解除二维码的控制器" id="btnDetachTransformControls" />
        <input type="button" value="设置控制器的模式" id="btnSetTransformControlsMode" />
        <!-- <input type="button" value="设置控制器的坐标轴" id="btnSetTransformControlsAxis" /> -->
    </fieldset>

    <!-- 模型权重 -->
    <fieldset>
        <input type="button" value="调整模型权重" id="btnUpdateModelWeight" />
        <input type="button" value="对齐模型最大包围盒权重" id="btnUpdateModelWeightByAlignMaximumBox" />
    </fieldset>

</div>

<script src='depends/config.js'></script>
<script src='bimrun-engine-v3.7.js'></script>
<script src='index.js'></script>
</body>

</html>
